#ifndef MEMMATCH_H_
#define MEMMATCH_H_

#include <MAUI/Screen.h>
#include <MAUI/Layout.h>

#include <ma.h>

#include "MAHeaders.h"
#include "memPlayer.h"

#include <MAUI/Engine.h>
#include <MAUI/Font.h>
#include <MAUI/Label.h>
#include <MAUI/ListBox.h>
#include <MAUI/Image.h>
#include <MAUI/EditBox.h>
#include <MAUtil/Moblet.h>

#include "Util.h"
#include "User.h"

class memMatch : public Screen {

public:
	memMatch(Screen *previous, User *myUser);
	~memMatch();
	void keyPressEvent(int keyCode, int nativeCode);
	void pointerPressEvent(MAPoint2d point);
	void pointerReleaseEvent(MAPoint2d point);



private:
	Screen *previous;
	ListBox *listBox;
	Layout *mainLayout;
	Widget *softKeys;
	Image *myImage[4][4];
	Layout *layout;
	memPlayer *myPlayer;
	int card1, card2, turn, score;
	int firstCardi, firstCardj, secondCardi, secondCardj;
	bool equal;
	MAHandle mButton;
	User *myUser;
};

#endif /* POKERGAME_H_ */
